package com.zimin.cloud.user.biz;

import com.zimin.cloud.user.pojo.view.UserAuthorities;
import com.zimin.cloud.user.service.IUserRoleService;

/**
 * <p>
 * 用户角色关联表 业务对象
 * </p>
 *
 * @author zimin
 * @since 2022-06-14 15:53
 */
public interface IUserRoleBiz extends IUserRoleService {


    /**
     * 获取用户权限
     */
    UserAuthorities getUserAuthorities(String userId);

    /**
     * 添加用户的默认角色
     */
    void addUserDefaultUser(String id);
}
